﻿// -----------------------------------------------------------------------
// <copyright file="SeekOrigin.cs" company="Company">
// Company 2011
// </copyright>
// -----------------------------------------------------------------------

using System;
using System.Runtime.InteropServices;

namespace Company.IO.Interfaces
{
    /// <summary>
    /// Provides the fields that represent reference points in streams for seeking.
    /// </summary>
    [ComVisible(true)]
    [Serializable]
    public enum SeekOrigin
    {
        /// <summary>
        /// Specifies the beginning of a stream.
        /// </summary>
        Begin = System.IO.SeekOrigin.Begin,

        /// <summary>
        /// Specifies the current position within a stream.
        /// </summary>
        Current = System.IO.SeekOrigin.Current,

        /// <summary>
        /// Specifies the end of a stream.
        /// </summary>
        End = System.IO.SeekOrigin.End
    }
}